package com.example.container.join;

/**
 * Created by ZMJ on 2019/12/29.
 */
public class JoinThread2 extends Thread {

    public JoinThread2(String name) {
        super(name);
    }

    @Override
    public void run() {
        for (int i = 1; i <= 10; i++) {
            System.out.println(Thread.currentThread().getName() + "打印" + i);
        }
    }

}
